package io.github.jsp.executor;

import io.github.jsp.model.JobInfo;
import io.github.jsp.model.JobLog;

public interface JobHandler {
    
    void execute(JobInfo jobInfo, JobLog jobLog) throws Exception;
    
    default String getName() {
        return this.getClass().getSimpleName();
    }
}